package com.crape.common.model;

import java.math.BigDecimal;

/**
 * 用户资金交易类
 * 
 * @author ChenKai 2012-11-4 上午11:54:45
 */
public class AcctInvest {

    private Long       id;        // ID
    private Long       accountid; // 用户ID
    private Integer    type;      // 交易类型：1、增加，-1=减少
    private BigDecimal amount;    // 金额
    private String     memo;      // 简述
    private String     createdate; // 创建时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAccountid() {
        return accountid;
    }

    public void setAccountid(Long accountid) {
        this.accountid = accountid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getCreatedate() {
        return createdate;
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }
}
